package cn.mes.module.mes.controller.admin.basecustomerinfo.vo;

import cn.mes.framework.common.pojo.PageParam;
import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.mes.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 客户基础信息分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class BaseCustomerInfoPageReqVO extends PageParam {

    @Schema(description = "客户名称", example = "张三")
    private String customerName;

    @Schema(description = "客户简称", example = "张三")
    private String customerShortName;

    @Schema(description = "客户备注", example = "你猜")
    private String customerRemark;

    @Schema(description = "客户代码")
    private String customerCode;

    @Schema(description = "显示顺序")
    private Integer orderNo;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}